package com.wangxiaotao.springcloud.alibaba.handle;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import com.wangxiaotao.springcloud.entities.CommonResult;
import com.wangxiaotao.springcloud.entities.Payment;

public class CustomerBlockHandle {
    public static CommonResult handleException1(BlockException exception){
        return new CommonResult<>(44401, "客户自定义,global handleException");
    }

    public static CommonResult handleException2(BlockException exception){
        return new CommonResult<>(44402, "客户自定义,global handleException");
    }
}
